package com.xiaoshuidi.cloud.module.finance.mq.message;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class FinanceAccountDeductMessage {
    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 扣费金额
     */
    private BigDecimal amount;
    /**
     * 消费时间
     */
    private LocalDateTime tradeTime;
    /**
     * 设备名
     */
    private String device;
    /**
     * 扣费类型(水费/电费)
     */
    private String charging;
    /**
     * 消息id, 扣费幂等判断
     */
    private String msgId;

    /**
     * 消费次数
     */
    private int times;
}
